from sqlalchemy import Column, String, Integer
from DataBase.DataBaseConnect import DBConnect

class DataDict(DBConnect.Base):
    #Base作为被继承的类
    __tablename__ = 'data_dict'
    id = Column(Integer,primary_key=True)
    key = Column(String(64),nullable=False,index=True)
    value = Column(String(64),nullable=False,index=True)